﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;

public partial class Web_Interface_ManageContacts : System.Web.UI.Page
{
    string UserName;
    protected void Page_Load(object sender, EventArgs e)
    {
        HttpCookie User;
        User = new HttpCookie("User");
        User = Request.Cookies["User"];
        if (User != null)
        {
            Label1.Text = "Welcome :";
            Label2.Text= User.Value.ToString();
            UserName = User.Value.ToString();
        }
        else
        {
            Response.Redirect("HomePage.aspx");
        }
        

    }

    protected void GridView2_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
}
